package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.R;
import com.itheima.domain.Setmeal;
import com.itheima.domain.SetmealDishes;
import com.itheima.domain.vo.SetmealVo;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {

    public R<String> adminSetmealSave(SetmealVo setmealVo);
    public R<Page<Setmeal>> adminSetmealPageselect(String name, Integer page, Integer pageSize);
    public R<String> adminSetmealUpdate(SetmealVo setmealVo);
    public R<SetmealVo> adminSetmealSelectById(String id);
    public R<String> adminSetmealUpdateStatus(List<String> ids, Integer status);
    public R<String> adminSetmealDelete(List<String> ids);
    public R<List<SetmealVo>> clientCategoryList(String categoryId,String name);
    public R<List<SetmealDishes>> clientSelectSetmealDishesById(String id);
}
